package cn.edu.xmut.chen.zhlg.zhlg.message.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;

@Data
@ApiModel(description = "会话结果")
public class ChatResult {
    @ApiModelProperty(value = "会话ID", example = "chat_123")
    private String id;
    
    @ApiModelProperty(value = "对方用户ID", example = "user_2")
    private String otherUserId;
    
    @ApiModelProperty(value = "对方昵称", example = "张三")
    private String otherUserNickname;

    @ApiModelProperty(value = "对方头像", example = "url")
    private String otherPic;
    
    @ApiModelProperty(value = "最后一条消息内容", example = "你好！")
    private String lastMessage;
    
    @ApiModelProperty(value = "最后消息时间", example = "2023-01-01T00:00:00")
    private Date lastMessageTime;
}